package com.zhangxx.web.model;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhangbo
 * @date 2019-08-23
 */
@Data
public class MongoMsg implements Serializable {

    private  String id;
    private Object msg;
    private String ip;
    private Date creatTime;

    @Override
    public String toString() {
        return "MongoMsg{" +
                "id='" + id + '\'' +
                ", msg='" + msg + '\'' +
                ", ip='" + ip + '\'' +
                ", creatTime=" + creatTime +
                '}';
    }
}
